import request from '@/utils/request'

// 查询标准建筑列表
export function listStandard_building(query) {
  return request({
    url: '/report/standard_building/list',
    method: 'get',
    params: query
  })
}

// 查询标准建筑详细
export function getStandard_building(id) {
  return request({
    url: '/report/standard_building/' + id,
    method: 'get'
  })
}

// 新增标准建筑
export function addStandard_building(data) {
  return request({
    url: '/report/standard_building',
    method: 'post',
    data: data
  })
}

// 修改标准建筑
export function updateStandard_building(data) {
  return request({
    url: '/report/standard_building',
    method: 'put',
    data: data
  })
}

// 删除标准建筑
export function delStandard_building(id) {
  return request({
    url: '/report/standard_building/' + id,
    method: 'delete'
  })
}
